package com.pituruh.utils;

import java.util.ArrayList;

/** Contains getter and setter method for varialbles */
public class ShelterSitesList {

	/** Variables */
	private ArrayList<String> name = new ArrayList<String>();
	private ArrayList<Double> latitude = new ArrayList<Double>();
	private ArrayList<Double> longitude = new ArrayList<Double>();
	private ArrayList<Float> distance = new ArrayList<Float>();

	/**
	 * In Setter method default it will return arraylist change that to add
	 */

	public ArrayList<String> getName() {
		return name;
	}

	public void setName(String name) {
		this.name.add(name);
	}

	public ArrayList<Double> getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude.add(new Double(latitude));
	}

	public ArrayList<Double> getLongitude() {
		return longitude;
	}

	public ArrayList<Float> getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance.add(Float.parseFloat(distance));
	}

	public void setLongitude(String longitude) {
		this.longitude.add(new Double(longitude));
	}
}